#ifndef RENAMEDIALOG_H
#define RENAMEDIALOG_H

#include <QDialog>
#include <QString>
#include "ui_renamedialog.h"

class RenameDialog : public QDialog
{
	Q_OBJECT

public:
	///
	RenameDialog(const QString& oldName, QWidget *parent = 0);
	///
	~RenameDialog();

	QString getNewName() const {
		return ui.newNameEdit->text();
	}
private:
	Ui::RenameDialogClass ui;
};

#endif // RENAMEDIALOG_H
